package com.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 社区类
 */

@Data//setter getter
@NoArgsConstructor//空参
@AllArgsConstructor//全参
@ToString//toString
@TableName("community")
public class Community {
    private int id;
    private String name;    //小区名字
    private String address; //小区地址
    private String introduce;   //介绍
    private int uid; //物业的用户id
    private String helpPhone;   //管家电话

    //该小区包含的所有房产
//    private List<Housing> housings;
}
